# Maintainer: Morten Linderud <foxboron@archlinux.org>

pkgname=python-sqlobject
pkgver=3.10.1
pkgrel=2
pkgdesc="SQLObject, an object-relational mapper for Python"
url="http://sqlobject.org/"
arch=('any')
license=('LGPL')
depends=('python-pydispatcher' 'python-formencode')
makedepends=('python-setuptools')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/sqlobject/sqlobject/archive/${pkgver}.tar.gz")
sha256sums=('1cf7e6dcac19b7b4f01d516e98f2113c49240940880d6c13a656755be9306fc7')

build(){
  cd "sqlobject-$pkgver"
  python setup.py build
}

package_python-sqlobject() {
  cd "sqlobject-$pkgver"
  python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
}
